x11: Move selection handling to GDK
authorBenjamin Otte <otte@redhat.com>
Wed, 13 Dec 2017 17:22:21 +0000 (18:22 +0100)
committerBenjamin Otte <otte@redhat.com>
Wed, 13 Dec 2017 17:31:06 +0000 (18:31 +0100)
commit65eab87238191ac55d3a7f40f4e35795e1d67b53
treea0f6faa9461258fa679a50a1e91a5d5e26e3d2f0
parent8648d5409ea53ef4bb6ad9b7940c32d663af41e5
x11: Move selection handling to GDK

Instead of claiming the selection in GTK, claim it in the X11 dnd code.
Also handle SelectionRequest and SelectionClear X events there.
gdk/x11/gdkdnd-x11.c
gdk/x11/gdkprivate-x11.h
gtk/gtkdnd.c